from rest_framework import serializers
from .models import McDepartment

class McDepartmentSerializer(serializers.ModelSerializer):
    class Meta:
        model = McDepartment
        fields = ['id', 'name']